%REM The code below calls the Session class's New method passing two parameters, the JSON object's "id" and "title" elements, in that order. The code can be found in the deser-70.txt example. %END REM Dim sess as Session Dim helper as New JsonConversionHelper Dim sessionConstructor as New JsonCustomConstructor Dim json as String json = |{"id":"Ad01","title":"Domino HA"}| Call sessionConstructor.withParam("id", "").withTitle("title", "") Set sess = helper.withCustomConstructor(sessionConstructor).fromJsonString(json, "Session", "deser-70") |